package cn.acac.yygh.hosp;

import cn.acac.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-hosp")
public interface ScheduleFeignClient {

    /**
     * 别的服务远程调用的接口
     * @param scheduleId
     * @return
     */
    @GetMapping("/user/hosp/schedule/findSchedule/{scheduleId}")
    public ScheduleOrderVo findScheduleOrderById(@PathVariable("scheduleId")String scheduleId);

}
